package com.leinao.dataset.dto;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author  wangshoufa 
 * @date 2018年11月15日 下午3:54:35
 *
 */

public class LoginResultDto implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5524256932987693410L;
	
	private Integer code;
	private String userId;
	private String email;
	private Boolean admin;
	private Boolean developer;
	private String token;
	private String bitaToken;
	private String headImage;
	private String nickname;
	private String position;
	private String company;
	private String description;
	private BigDecimal validateTime;
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getBitaToken() {
		return bitaToken;
	}
	public void setBitaToken(String bitaToken) {
		this.bitaToken = bitaToken;
	}
	public String getHeadImage() {
		return headImage;
	}
	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Boolean getAdmin() {
		return admin;
	}
	public void setAdmin(Boolean admin) {
		this.admin = admin;
	}
	public Boolean getDeveloper() {
		return developer;
	}
	public void setDeveloper(Boolean developer) {
		this.developer = developer;
	}
	
	public BigDecimal getValidateTime() {
		return validateTime;
	}
	public void setValidateTime(BigDecimal validateTime) {
		this.validateTime = validateTime;
	}
	@Override
	public String toString() {
		return "LoginResultDto [code=" + code + ", userId=" + userId + ", email=" + email + ", admin=" + admin
				+ ", developer=" + developer + ", token=" + token + ", bitaToken=" + bitaToken + ", headImage="
				+ headImage + ", nickname=" + nickname + ", position=" + position + ", company=" + company
				+ ", description=" + description + ", validateTime=" + validateTime + "]";
	}
	
}
